Currently, the test-cases are overly complicated with having to union modules and specify the main machine, etc. This needs to be revisited.