All tests pass except test case 6 for is-palindrome