added tests
Merge branch 'hotfix/1.0.2'