Unit test and service for SourcingDocument