add var/is_binary with test