add test case for begin_of_association_chain
fix test case for begin_of_association_chain