added test for lib/binary