strip unnecessary whitespace to get test passing in TeamCity