Add test framework for client side. All tests pass.