added methods to filter properties by types. added test cases