fix canonical test