Added BinApi tests