Add sanity check to promiseURI in tests