Encapsulated runTest(). Small syntax fixes.