Added unit test for issue #48

Added a test to ensure that the internal getPortRange function call
correctly makes use of the provided ports in an options object. This
test breaks without the fix for min/max port options bug (issue #48).