add common function test to bonds