Refactor test directory structure to make more sense, add tests for plugin usage format