interface to treat parameters as integers, not strings; small optimalization; 2 new tests covering new functionality