Created test for Controller