Add test to delete range, fix non valid keys in delete operation