Adding three tests, first for an exception in a test, second for an exception when it is the second item in the queue (to make sure it is triggered form the dequeue and not the add, and one for promise handling order after exception is thrown
Adding three tests, first for an exception in a test, second for an exception when it is the second item in the queue (to make sure it is triggered form the dequeue and not the add, and one for promise handling order after exception is thrown

azproduction/promise-queue