add unit test for bond