Tests for FactSelector