Update the test file functionality so multiple phrases map to one regex.

Also included a few broken tests - must when happy with test setup.