Fix tomcat test