Added test that runs forever on SPARC.
Correct warnings in testcase.