Appear & Disappear callbacks work in tests

Still need some real life testing though. Never tested all this in a
browser. This feels a bit crazy for the first time writing tests.