Fix problems with specs failing about missing dependencies

@pjedrzejewski without this it will always fail, dunno where exactly is issue in prophecy but it have problems if class is missing when it tries to mock (even if class is not used in mock)