small updates for running tests in api