Updated initialization of TCAgent.
Fixed missing tin can object in testOfflineStatements.