Fix bin_spec tests