Create test for Ex. 12.