Add Set.{filter,partition} with tests