CXX-385 Use trap to respond to test failures
CXX-384 Added check for default wire version