client-test: pass structure by const pointer