Implemented integration tests for pre-receive hook