tests: remove usage of old-style getters and setters