Fix a bug in tests for create_stuff