promisebasedmap tests added