Convert asserts to assert_eqs