finish dialtest.py