fixing hrefs and unit tests

Unit tests were a little funky... fixed some hrefs I screwed up when I
rewrote the APIHrefs class