Compiler warning fixes in testcases