bugfix in test case