Testing reading and writing from status table in the test database