don't expose test port
organize testcase
fix travis