fixed reference children free, clearing basic test