fix rpc test
fix setup.py, now can be distribute while pypi