Add function: test_binary