Added python3 dependencies and corrected testscript.