Move to binary string and add tests.