Estimation and testing in dynamic, nonlinear panel data models