added getparents and gettests