tests length of xrayflux_sample