Added another testcase and fixed a bug with the volatile scoping.

--HG--
branch : trunk
2 files changed