changed SampleConroller to MainController in tests