Fixed inconsistent remove alias test.