Database develop

Added the model tests. Made change to ensure only id is being passed to sidekiq.
Line is too long. [160/80]