Added QUnit tests
Added examples etc. to readme