validate custom registries and add more tests