Solution for exercise 9 including assignment of tasks and tests