Add test from listing Listing 11.30