test server using sample.txt