partially fix UnitBuilder macro and log(exp) unit tests
do not try to inline empty arrays