Added some tests
Merge branch 'master' of github.com:bugsnag/bugsnag-java