Ruby 1.8 compatible hash syntax in callback code, to fix test failure