correct testCase implementation