added test for delete registers