test(filter): test expression object with inherited properties

Related to #9984