Tests for numeric types