test code of nat traversal