Setup tests
Writing tests to use synchronize
Fix for gunicorn websocket worker close connection.