test of sanitize functions