hasProperties functionality and tests