update unittest for float