template retriever tested on main controller