Fix for RuntimeException in test suite.
Merge pull request #405 from bhariharan/unstable

Fix for RuntimeException in test suite.