Update java_spec.rb

Update java rspec tests