Bugfix in test create