Stop the commit from taking place if tests fail