Exercise 10: Add a few automated tests.