tools controller and rspec tests