Test for successful set mode api call