ElggGroup and ElggObject

Hello all of you,
 
I develop a plugin that inherits from ElggGroup, my plugin is grafted other entity including a inherits of ElggObject,


defined by following:

class Test extends ElggGroup {

function setTest1 ($ test1) {

}
function getTest1 () {

}

}

and

class Test1 extends ElggObject {

}


my problem is in the action file edit for Test.

Test edit file:

$ test1 = (array) get_input ($ test1);

$ Test-> setTest1 ($ test1);

$ test1 is not visible in the edit action file.

please help me and if you have some examples please do not hesitate