Testing bug - only the last definition of test case was checked