bonding tests rewritten