Index: src/webapp/build.xml
===================================================================
--- src/webapp/build.xml	(revision c455d7bd76a1b1cf6fd2e61bbf1062cc1be95af0)
+++ src/webapp/build.xml	(revision 86442cbd127610871a5571fd03379f0aaad8704f)
@@ -44,5 +44,5 @@
 
 
-	<target name="dist" depends="buildwebservice,buildwebclient">
+	<target name="dist" depends="buildwebservice,buildwebclient,test">
 		<echo msg="Creating archive"/>
 	<!--	<tar destfile="${builddir}/..//gnuboat-webapp.tar.gz" compression="gzip">
@@ -58,11 +58,13 @@
 	</target>
 
-	<!-- <phpunit bootstrap="webservice/inc/autoloader.php" pharlocation="phpunit-4.8.9.phar" haltonfailure="true" haltonerror="true" printsummary="true">
-		<formatter type="plain" usefile="false"/>
-		<batchtest>
-			<fileset dir="webservice">
-				<include name="tests/ServiceTest.php"/>
-			</fileset>
-		</batchtest>
-	</phpunit> -->
+	<target name="test">
+		<phpunit bootstrap="webservice/inc/autoloader.php" pharlocation="phpunit-4.8.9.phar" haltonfailure="true" haltonerror="true" printsummary="true">
+			<formatter type="plain" usefile="false"/>
+			<batchtest>
+				<fileset dir="webservice">
+					<include name="tests/*Test.php"/>
+				</fileset>
+			</batchtest>
+		</phpunit>
+	</target>
 </project>
