test code for miniAOD