Fix a bug in which the test_pushed flag was not being set on the commit