Api test framework