Relates to #1000, moving around the test
Relates to #1000, moving around the test
Fixes #999, plugin was incorrectly seen as defined if module was a dependency