THRIFT-1594: Java test clients should have a return codes that reflect whether it succeeds or not.