BitSet serializer testing.