bugfix in test