Mock dependencies on instatiation. Finishes #28