Adding apostrophe in id regression test for #3185

Added apostrophe-in-id regression tests for #3185