Database develop

Added the model tests. Made change to ensure only id is being passed to sidekiq.
Redundant `self` detected.<br>Tab detected.