Added tests for F0FTableNested::getRoot
Fixed SQL error on F0FTableNested::getRoot