See https://github.com/swellaby/vscode-rust-test-adapter/issues/27#issuecomment-492830749 for more info, and a code snippet of tests outside the module scope.