Tests for filter().
Tests for partition().