updated test specs to include test for regexparser validate and clean methods