Tests for exclude option