Fix http/ws unit tests.