Add integration test for the status repository