add strip() statement to delete empty character.

add strip() statement to delete empty character around every test data.