Update test to match recent change of to_i to to_f