making alias regsitry a class so it can be constructed and fixing first 2 AliasRegistry tests