spec for palindrome_two