Added database test fixture to simplify testing