bugsnag: port tests
Merge pull request #277 from segmentio/test/bugsnag

bugsnag: port tests