Fixed MapReduceFlowPlatformTest.

It is not enough to remove "mapred.input.dir". The new property ("mapreduce.input.fileinputformat.inputdir") should be removed as well.
Fixed the SerializedPipesPlatformTest.

It seems "mapreduce.job.maps" needs to be set to 1 too.