Client side tests

#41, #49