fixed some compilation issues, added DigiDocService spec