Fixed a unit test failure in EMR.