Added test_script. Added more logging to server.