added test for maincontroller
Merge branch 'master' into Step1_finished