fixing typealias tests, and adding to regrtest