Fix issue in unit test, add alias resolver to create