Adding template referencing test.