Database develop

Added the model tests. Made change to ensure only id is being passed to sidekiq.
Line is too long. [83/80]<br>Tab detected.