more specs for model and controller

more specs for model and controller
minor refactoring in show views and specs