DRY up the tests for SiteStreamClient
test on ruby 2.1.0 and jruby