Chapter 11 ex 4 tests for profile page