Fix the argument does not recognized as relative path from srcdir
Work with sphinx1.0.x
Add testing script