Add end-to-end tests for jQuery plugin

@settinghead @alex-deaconu @stulees