Experimental investigation of the dynamics of microspheres in ferrofluid