Removed set_trace() from api.tests