[ rspec ] add specs for models and controllers