BinaryLogic: Fixing layout with tests