little bit more work on test for plugin registration #4