add a complicate reference chain test