[TASK] Remove underscore
- Add underscore's extend function to `lib/utils`
- Change array check to native `Array.isArray`
- Make tests expect `null` insted of `undefined`