Adding specs, fixing weird jruby-parser bug