Initial work on testing the controller