tests for input type="number" min/max