Null checks in bart executor

+ tests