Add unit test for getRegistry method
Update indent size to 4 spaces