Add spec test for numeric domains