IntermediateOutputPath bug tests added