Test code for geant4 MT