updated tests for palindrome