MGComponent class test updates