The use of get_attribute instead of get_property can fix the issue, but since
the templates were creatd for specific tests as explained in the bug it is
good to clean up clutterd template code.
Change-Id: I7a26478d3e97c89ff2dd978ba53ba83aa3e1912a
Closes-Bug: 1557117