#3206 - Adding expectTerminated