bugherd: port tests, fix loading problem
Merge pull request #242 from segmentio/test/bugherd

bugherd: port tests, fix loading problem