fixing tests when running the scrict checking enabled