test_files: Fix dynamicObjectProperties.2.qml test
We just want to make sure this particular file does not trigger an assert / crash.
Make sure the test still passes, even if the file contents are invalid.
CCBUG: 364145