add test for compiler replace alias with invalid alias