unit sanitizer function
test for unitSanitizer function