SW-77. Fixing error whereby the same test fixture could be run twice, causing a crash in py.test.