fixing up tests for bugherd and connecting it to the build