Improved the test for Repository#status