added generator test case for local server.