finished integration test framework.
Need add actual tests.