eliminate warnings
fix test (thanks to rubinius to discover this)
fix warnings on rubinius