edit lecture: add test for data families