mock dependencies in short tests