add testing cases for both client and worker; #4, #8 closed