Fixed problem with test case not being compared correctly