DRY'd up the Tomcat Managed container's in-container tests.