added more logging on error
fixed bug when rendering registry manager without metrics
new unit test