added test for getting term by parent