Fix EOS unit test.