Unit test for ParameterRequiredReader

Change-Id: I9f70e3c4f1ee017b7b594a4f5a46406a54c0878a