replaced test dependencies with mocks, removed debug statements, fixed docs code style