Added 2 structured parameter tests

- NParams nested in SParams can refer to other parameters as usual.
    Even if the referenced parameter is outside of the SParam.
- If two parameters have the same ID and one of them is nested in
    an SParam while the outer is outside, then the outside parameter
    takes precedence when initializing the SParam.