Testing embedded tomcat server