Add more test cases

We'll now do a better job matching remote and tag references
getReferences now returns local, remote, and tag references
Mention getReferences() in the README