a bit of tsting for the binary method