isObject only returns true for objects and nothing else. Update cel/ael in the HTML builder to use isArray for array check
Note that these are very basic tests and just a start to learn vitest. There are no tests for DOM/Window because I do not know how to do those tests the best way with some headless brower testing suit or which to use