MGComponent class test development