Script to test server-client structure