Refactored object fetcher test and session mock utils