LPS-46460 update tests to use BasicRegistry

@arboliveira check this simplifed test using BasicRegistryImpl, which actually works without mocking