Legacy tests refakt
Testing the controller