deleteing extra spaces from test data