adding tests
Merge pull request #44 from smonette/writing-tests

adding tests