refactored contacts index test