[#1519] Fix test