extracted helper functions
added separate spec file
renamed files
removed unused code
extracted helper function
added helper functions for testing, improved unit tests
extracted common test code helpers, added unit tests
Merge pull request #5 from mdomi/feature/test-coverage-improvement

Feature/test coverage improvement