added test for creating