debug on test api