ensure bond returns object from constructor