add rudimentary test for esoo function