fix warnings in ReactComponentLifeCycle test

Don't use inputs to avoid warnings in tests
fix warnings in cloneWithProps test

Don't test refs in this case, already testing warning above