a framework for testing api's