added tests for custom default controller class