fix tests for rubies other than 2.0.0