Add tests to ensure initAsProto works well
comment code, remove useless lines, set spliceArgs as with 'public' syntax