continue working on task repo api

added constraint to Group#addTask and some tests