A passive system for neutron spectrometry has been tested in view of neutron dose evaluation in mixed radiation fields. This system, based on bubble detectors (Bubble Technology Industries, Ontario, Canada), is suitable to evaluate the neutron energy distribution in the range 10 keV-20 MeV even in the presence of intense gamma radiation, as required in various fields: medical x-ray accelerators, nuclear reactors, cosmic ray exposures on commercial high-altitude flights and space missions. A new unfolding code BUNTO has been especially developed for this application. In the present work, the results of two experimental tests are summarized. In the first one, the device has been exposed to a standard AmBe neutron source (Joint Research Centre, Ispra, Varese, Italy). In the second one, measurements have been carried out at the MAX-Lab photonuclear facility in Sweden, with a bremsstrahlung photon beam impinging on thick targets of different materials and generating a giant dipole resonance neutron spectrum. Simulations of the experimental apparatus have been performed with MCNP4B (AmBe source) and with MCNP4B-GN (MAX-Lab). Results of the comparison between experimental and calculated spectra are shown and discussed. A good agreement between measurements and simulation data is obtained in both the experiments.