Fix the order of parameters in the assert_equal statement. First expected value, then actual value.