fix tests: use assert_equal