[#3132] Fixed unit test