Changes made for common build and common jruby version. Testcases updated too.

Changes made for common build and common jruby version. Testcases updated too.