add tasks to projects index and fix tasks tests