Solution for exercise 7 including assignment of tasks and tests