exercise 13-2: test constructor execution order of Core and Grad
exercise 13-2: test function call orders