Database develop

Added the model tests. Made change to ensure only id is being passed to sidekiq.
Avoid using {...} for multi-line blocks.<br>Tab detected.