Wrote unit tests for most of module methods; part-way through rewriting functional plugin_ajaxselect.js