adds mock as dependency to run tests