test cases modified