Fix test failures

- Fixes wrong number of arguments error for lambda in tests
- Enables pending test for jruby and rails3