Bugfix: Some wrong asserts in the tests