Bugfix in tests.