Added function test framework.