added try-catch blocks for Unittests which expect Exceptions in order to test all possibilities in a for loop
Merge pull request #7 from zumi1/master

fixed some Unit tests which were expecting an Exception