added test for locally-defined aliases