Add tests for `BaseObservable::fromArray()`