introduced test helper
Merge pull request #13 from elf-pavlik/refactor/tests

introduced test helper