basic func test for default controller