testing database inserts