Blade Template Compiler Tests and bug fixs