Queue Test 1 creates 10000 while removing all but the 10 most recent. See http://www.crockford.com/javascript/memory/leak.html