BS-10195, add complex structure validation tests
BS-10195, refactor tests
BS-10195, review messages