Adding test for registry cheerio

Adding a test that exercises <code>loadTemplate(nodeInfo)</code> . (Had to change the usual cheerio notation of $ = cheerio.load(content); and assign it to a local variable, otherwise Mocha detects a memory leak.)