Looks great, just a few nits. @jbhoosreddy Yeah, the previous mochitests were simply awful. Pulling everything out of the DOM and only checking it when needed allows us to write way simpler tests. The old tests were also written at a time where promises weren't even used. 