added more unit tests to client module