update test for simulate promise