add test to check BadMonitoredItemInvalid returned vu removeMonitoredItem
refactor numeric range