Fixed specs failing on other rubies