[#1664] fix tests