fixed bug in test script
Merge branch 'code' of https://github.com/kyzhai/SMURF into code