Tests for bugsnag js