add idiomatic test and example for Binary

Added more idiomatic tests for the Binary problem.  So now error conditions are explicitly returned with clear messages.

The example.go file was also updated to a better solution (imho) with better annotation.