Adding test if root id given as param is not found in CA

Adding test if root id given as param is not found in CA db
JSON_UNESCAPED_UNICODE not available in php 5.3

JSON_UNESCAPED_UNICODE not available in php 5.3