Fix tests to pass in all rubies.