add test for external sort in rdd