updates to test framework for api