fix ImageServiceTest after updating to new NextFreeDocService