Remove test strings and whitespace