Add test case for #688

Shouldn't you rather first assert that the property exists because this is what was wrong before. And afterwards assert that the property is `null`.