Implemented method to get all properties
Moved testing utilities to generic location
Added validation for method to get all contacts

Also did some schema transformation to simplify the code