TESTS: get rid of a sanitize helper

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>