Testing what is written to database.