Minor fixes on sample data
Makes class properties protected
Fixes serveral issues (found on php unit tests)
Adds php unit tests for collection class
Fixes metadata info in object data samples