Make a unit test out of example1.