[tests] fix inheritance issues