add unit tests for aliases (#102)