State test and family rights