add newdelete test