Add the alias function, with tests