Light refactoring, better names
Fix incorrect test prefix
Fix a bug that the connection is not closed after the response.
Merge pull request #365 from eric-wu/develop

Correct test prefix and close connection by consuming the response