Combined database unit tests for less writes to disk