@Test
    void test() {
        Path workingDir = Paths.get(".");
        assertThat(workingDir.toAbsolutePath().toString()).doesNotContain(".idea/modules");
    }
Added this test as intellij seemed to be defaulting the working dir to $MODULE_DIR$ as opposed to
$MODULE_WORKING_DIR$ in the run configurations
stroom-app/src/test/java/stroom/test/TestWorkingDirectory.java