WS unit test