Removing the promise variable from tests.