added test for looking for db insert in POST