Ensure promise test runs to completion

Closes #1