Testing a jQuery plugin