templates index view + test