added test for tomcat example application