Update delindex! -> deleteat in tests