refactored parameter tests, support SqlInteger