Test fix
diff --git a/build-tests.xml b/build-tests.xml
index 56e5c50..d5bd00f 100644
--- a/build-tests.xml
+++ b/build-tests.xml
@@ -60,7 +60,7 @@
     <pathelement location="${test.build.dir}"/>
   </path>
 
-  <target name="run" description="Run tests" depends="compile">
+  <target name="run" description="Run tests" depends="compile,copy-resources">
     <echo message="                                 -- Running tests --"/>
     <echo message="                                 -- ${testng.jar} --" />
     <testng classpathref="run.cp"
@@ -70,6 +70,21 @@
     </testng>
   </target>
 
+  <target name="copy-resources" description="Copies resources.">
+    <copy verbose="false"
+          file="${src.resources.dir}/testng.css"
+          todir="${test.build.dir}" />
+    <copy verbose="false"
+          file="${src.dir}/testngtasks"
+          todir="${build.dir}" />
+    <copy todir="${build.dir}">
+      <fileset dir="./resources">
+        <exclude name="**/.*" />
+        <exclude name="**/CVS/*" />
+      </fileset>
+    </copy>
+  </target>
+
   <target name="run:single" description="Run 1 property file named with the ant property test" depends="compile">
       <echo message="                                 -- testng-tests-run1 --"/>
 
diff --git a/build.properties b/build.properties
index 22d689f..3356b1c 100644
--- a/build.properties
+++ b/build.properties
@@ -27,7 +27,7 @@
 # Names of distributions
 #
 testng.basename=testng
-testng.version=5.12.2beta
+testng.version=5.13beta
 testng.fullname=${testng.basename}-${testng.version}
 testng.jar=${testng.fullname}.jar
 sources.testng.jar=${testng.fullname}-sources.jar
diff --git a/src/test/java/test/SimpleBaseTest.java b/src/test/java/test/SimpleBaseTest.java
index a3c1820..5f81a3b 100644
--- a/src/test/java/test/SimpleBaseTest.java
+++ b/src/test/java/test/SimpleBaseTest.java
@@ -59,7 +59,7 @@
     String result = System.getProperty("test.resources.dir");
     if (result == null) {
       System.out.println("Warning: System property test.resources.dir was not defined.");
-      return fileName;
+      return "target/test-classes/" + fileName;
     }
     else {
       return result + File.separatorChar + fileName;