Fixes the tests broken by adding additional git commands into the update test