Fix test case
Add test code for checking EOM method