Bug fix, create a TestController to help debug