Fixed select test spec undefined variable numChildren