Test

I added some simple tests to ensure that `stop()` was working as intended.

Along the way I found and fixed a minor problem with `.ready()` getting called twice.