tests: Don't access properties_schema directly

Don't rely on the properties_schema containing a dictionary in a particular
format, convert it to Schema objects and use the API. Needed for the
blueprint property-schema-conversion.

Change-Id: I1a0cd93f62bd662752cb27a294248a14446492a9
Merge "tests: Don't access properties_schema directly"