Add a test case for aliases defined in account directives