Compile templates before running tests