test: update emacs test to use test_expect_equal_file