add basis send-recv test
fix duplicate symbol issue with static