fixing problems with unit test
Merge pull request #14 from andreasprlic/master

resolving issue #12