Corrected collection.remove test script.