post to db tests