refactor unit-tests and extract string validation
parse metrics from perfdata by using regular expressions to match all valid variants of perfdata formats.