Clean up implementation of MockHttpNetworkReply.
Implment test case for MockHttpNetworkReply.