corrected tests for tomcat