ported api caller tests to integration.