Templates tests