Tomcat now shuts down correctly. Integration test works with more than one test now.