WildFly fixes, test configuration and dynamic ports