add test for constructor snippets re #126