Adds test for undefined template error
Includes module in undefined template error