rw-server: Fix tests.