Use the port finder to find an available port; using hard-coded ports can cause issues with concurrent builds. One test found a port in the XML but was still hard-coded in the test itself rather than retrieving the port from the adapter. Also, stop the adapters when tests complete.