Add back rest-api test