More work on tests.

modified:   app/controllers/application_controller.rb
modified:   app/models/analysis_item.rb
modified:   app/models/analysis_job.rb
modified:   app/models/analysis_script.rb
modified:   app/models/audio_event.rb
modified:   app/models/audio_recording.rb
modified:   app/models/bookmark.rb
modified:   app/models/photo.rb
modified:   app/models/progress.rb
modified:   app/models/project.rb
modified:   app/models/site.rb
modified:   app/models/tag.rb
modified:   app/models/user.rb
modified:   spec/factories/analysis_job_factory.rb
modified:   spec/factories/analysis_script_factory.rb
modified:   spec/factories/audio_event_factory.rb
modified:   spec/factories/bookmark_factory.rb
modified:   spec/factories/permission_factory.rb
modified:   spec/factories/saved_search_factory.rb
modified:   spec/factories/tag_factory.rb
modified:   spec/spec_helper.rb
modified:   spec/support/api_examples_delete.rb