Add assertions to test, and fix jqLite dealoc errors

I think you basically fixed this, but I've taken notes on it just so that it's easier to make sure.