Fix `enable` and `disable` unit tests