Added a test for the compile function to ensure that it compiled the template down