Added a few assertions to client example