Template variable tests