Added testWSHandlerCalled.