added tests 2 and 3 for palindrome
count words method tests