added test case for promise enrichment