Fixed the unit tests to account for new ESEARCH usage