test for first textbook example