IntermediateResults - written tests plus improved behavior in case of incorrect arguments in some methods