rename test/plugins to avoid colisions with lib/plugins
add test for nesting
try to bring 1.8.7 testing support