testpath: Add a generic testpath script

Source this testpath script from the base checkout directory to run all checkout code.