Added some base code for testing controller