test for computed attribute hasChildren
compute properties, resolves #193