Refactored tests to use RSpec mocks instead of hand-rolled mock.
Introduced mock logger, and colored test output from rake.