Adds some tests around the client