test binding to different targets