Fix service registry check
Added examples in readme