Add properties retainment tests

[#62719228]