Added test to show RichText is no longer throwing errors when being destroyed