updating REST API tests