wait until server process starts
some exaple test cases