.has works on nameless components too
tests