Dear Michael, dear Forum,
The problem here is that your vector `test' is not over GF(2). (An easy way to
convert it to a GF(2)-vector is to use
test := [1,0,1,0,1]*One(GF(2));
For this new vector, ConvertToVectorRep should work as expected, and I hope
that this will solve your problems for the moment.
Nevertheless, ConvertToVectorRep should raise an error in this case,
rather than return garbage.
Thanks for reporting this problem.