Integration of rest service with back end, changes to test based on implementation details