Tests that the internals.observeGC hook works.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS observationA.wasCollected is false
PASS observationB.wasCollected is true
PASS observationC.wasCollected is true
PASS internals.observeGC(undefined) threw exception TypeError: Failed to execute 'observeGC' on 'Internals': value to observe is null or undefined.
PASS internals.observeGC(null) threw exception TypeError: Failed to execute 'observeGC' on 'Internals': value to observe is null or undefined.
PASS did not crash
PASS successfullyParsed is true
TEST COMPLETE