add test
Merge pull request #2 from Skadabr/branch1

add test and clear empty space