Exercise 9.
More tests for ex9