Fix build break for Registry test class.