test keeps removing min