#3342 updated unit test