make spec tests work with random value used for bypassing cache
add jruby-18 back for testing by travis ci