Add test for relation options
Handle setting of other BO instance correctly