Improved appTrackItemService and its spock test