Added test case for param with options detector.