Unit tests for aliases module