test script for mem/time consumption at insertion