server already terminates cleanly
normalize the parameters for tests (unsafePerformIO FTW!)