Rework redis server startup to happen only once

Also added a shutdown hook to clean it up upon completion of all tests.