adding unit tests for jquery.spin.js

I added fairly comprehensive unit tests for jquery.spin.js as I will probably need to change the plugin, and wanted to be sure I don't break anything.