Add tests and validations for the term model.
Fix version of sidekiq to prevent an error with the latest version.