added the test-method for create.