add test for trait chain