[test] plugin and rework functionality