plugin follows spec, + tests