start writing tests, add (untested) function for inspecting the queue via promise rather than callback