updated W3C tests to use Promises