Add tests for the plugins support
Update doc