sanitizing tests and using strict mode