tests: move plugin tests to src/plugins/*/test