Add test of GitLockFailedException