Add tests, add testem support, fix show/hide.
Tidy up tests a little
Merge pull request #1 from AmpersandJS/tests-and-fixees

Add tests, add testem support, fix show/hide.