Add a test for commits not on refs/heads/master.