Added test case for client publish method
v0.9.70