Rework specs to function under jruby
Merge pull request #41 from billdueber/jruby

Rework specs to function under jruby
closes #30