updated version of test cases