Reorganise in preparation for more scripts.
Add UDP seeded test.
Add TCP seeded test.