added test for base controller