NXP-14931 improve unit test