more tests for isPalindrome