Fix MAC/emcee/MacHine casing; add test cases

Using the regex fix supplied by pavelulyashev (thanks). Also added
a test case for 'Mac Mc MAC MC Machine'. Fixes #1.