Beam test results of 3D fine-grained scintillator detector prototype for a T2K ND280 neutrino active target