added a test for single record creation