[#3822] Fixed tests