Updated tests
Added basic plugin, based on jqueryplugin boilerplate