fixes #26
fixed invalid tests
Merge pull request #27 from ciberch/hotfix_issue_26

fixes #26