Add first unit tests for ExpandPromise