improved server start & stop test