Add unit test for locked parameters (not enabled yet)