TestAwaitTermination