test creating a row in the db