Solution for exercise 8 including assignment of tasks and tests