Exercise 47: Automated tests