fix Ruby 1.8.7 tests, fix warning in invoker test