added regular tests for jruby main maven artifact

some tests are not working and get omitted - https://github.com/jruby/jruby/issues/2215
and one test got a little workaround for https://github.com/jruby/jruby/issues/2216

Sponsored by Lookout Inc.