Adds test for non-binary ints inside of the string

The method is expected to check for non-binary ints inside
of the input string and should return 0 then.
Merge pull request #37 from hpurmann/binary/no-binary-int

Adds test for non-binary ints inside of the string