Make the test code as the tutorial code.