uses expect_equal()