Commit test hook