Tests that custom prototypes on DOM objects persist after garbage collection.