Use single global client
Added bean serialization! And another test for it....