add test for inverted index mapper, reducer, mapreduce