having a hard time testing controller