Update to WildFly 8.1.0.Final and fix test code