improve apitest runnability