rpc: Added tests for the CHILDREN command