Test that the unhandled promise rejection hook will immediately terminate the test and print the associated exception and stack trace.