Test script for tomcat