Fix M-{ and M-} in comments and add regression test (refs #38)