added testmethod for main green