test-server: move registering parsed reicpients code