Added reproducer for BZ 1034359 - traits serialization

Added reproducer for https://bugzilla.redhat.com/show_bug.cgi?id=1034359.