Mock dependencies for unit testing