[test-only] ReflectionClass::getDefaultProperties fails with undefined index 'default'

The test shows that the getDefaultProperties() results in a
<code>Notice: Undefined index: default</code> error message coming from ReflectionProperty->isDefault().