Add test for snippets with overlapping fields

See 4e1cdb4c9e372cca5e9a70f2f122c0d256a8a287 for details.
Fix include paths