Prevent logging of database errors during tests
Update tests. Add test for post settings