Working sample of unit test framework