Refined inertias of tree sign patterns of orders 2 and 3