add test for type families