Test of spin dependence in charm-quark fragmentation to D*