Added specs for model and controller