added generation of random URIs for cobra
fixed map tests