[Finishes #44322287] test for commit hook