added basic testing to plugin