Fixed problems in controllerSpec setup