update the main test

improve the main test to work much better without relying on funky
event dispatch.
test utils addXULStylesheet improvements

move to just generically test the addXULStylesheet function from the
utils module and test that it goes away on unload.