new test for one class who contains custom type objects, custom defined serialized name and an ugly solution of changable key in json