return templates if compiled as AMD
Tests: print the file suffix
fix tests