Empirical Likelihood Estimation and Consistent Tests with Conditional Moment Restrictions