Fixed parameter order in assert_equal in model tests