Change alias check to pass additional tests