We propose a new framework for testing the ``mean stationarity'' assumption in dynamic panel data models, required for the consistency of the system GMM estimator. In our set up the assumption is obtained as a parametric restriction in an extended set of moment conditions, allowing the use of a LM test to check its validity. Our framework provides a ranking in terms of power of the analyzed test statistics, in which our approach exhibits better power than the difference-in-Sargan/Hansen test that compares system GMM and difference GMM, that is, on its turn, more powerful than the Sargan/Hansen test based on the system GMM moment conditions.