added tests
Merge pull request #1 from mimmi20/scrutinizer-patch-1