the igtest example for unit test and integration test.