Modify tests for python clients and add tests for ruby clients