passing some public properties to protected
CacheInterface
Entity: toArray depth and more tests
Entity: fixing tests