Attempt: make server testable / write test script.