tests: don't use some deprecated properties