Thanks for the confirmation. I think I am now on the right track: I made a project in the test folder, and added the packages that I require to that environment. It looks like it might work.
- Make an environment in the folder
TestedPackage/test. - Add all the packages that are necessary to run the test to that environment.
- In the folder
TestedPackageone can now run]test.