add two testing scripts by Fei