deleteRecord tested