Rspecs for controller and changes some alert to notices