included unit tests, mainly against tricky regular expressions