Add config specs to test config; make database test atomic