Fix instructor api tests