condensed specs and fixed failing test for PalindromeFactory