adds tests for aliasing a name