Testing data string parsing method