added client tests and fixed uninitialized responseCallback property of server sparks