SONAR-4776 Fix WS unit test