Fixed failing test case on older rubies.