test against template