jquery plugin

accepts class as argument
some unit tests