add unit test for serde trait with reference of self
reproduce issue #134
DO NOT ignore synthetic fields always
Merge pull request #135 from tsdeng/add_unit_test_for_trait_using_self

add unit test for serde trait with reference of self