allow failures on jruby
s/assert/assert_equal
Merge pull request #411 from arthurnn/settings_fix

small settings fix