test query bug fixed: mapper input as directory, and mapper can distinguish data from which file