[opf] Storage of owned lists
[tests] fixed sql syntax