unit tests for PromiseRDD