fix metadata and tests so they work with latest versions of metalsmith and metalsmith-templates