fixed tests due to stupid flask-restful bug