--- a/Test/testTest
+++ b/Test/testTest
@@ -11,6 +11,18 @@
 ERRORFILES="/tmp/testTest.$$"
 
 PYTHON="python2.5 -Wd"
+
+# Go to Test directory:
+cd `dirname "$0"`
+
+# Add parent directory to PYTHONPATH:
+parent_dir=$(dirname $(pwd))
+if [ "$PYTHONPATH" ]
+then
+    export PYTHONPATH="$parent_dir:$PYTHONPATH"
+else
+    export PYTHONPATH="$parent_dir"
+fi
 
 if [ $# -ge 2 -a "x$1" = x-p ]
 then