Make ws_test at least a little understandable