titlecase: some linting and simplifing
simplify ParsePatternTests