Fixed bug in ICalgen testing. Removed mocking.