100% test coverage for SocketWriter
adds final tests for ResourceFetcher