Adding tests for get-commit and status