Test that aliases are properly created