passing 16 test cases