Test that a thread is deleted with its message when that is the only message in the thread