Prepare test framework.