Test of a SiPM-scintillator-based muon detector at the Gran Sasso National Laboratory