unit test demo code in lecture