Tests of a superconducting rf quadrupole device