Fix bug in binary body accumulator. Closes #61

Two tests added as well.