add search-nex.py & test-nex.py