change testNewDoc.py for better measure the performance, a version before Jia's test method