Exercise 9 and 10 unit tests added