Added unit tests for inheritparams