Add tests for client interface