AMEC-1779 updated unit test