Bugfix: don't take DEmpty into account for the profiler test and the batch test