Refactored for testability, added automated tests.
Added testing for ConsoleRenderer.
Modified semantics of mustCall: if 'times' is specified, check specific count; otherwise just confirm that function was called.
Updated tests.
Fixed idiot bug.