Database develop

Added the model tests. Made change to ensure only id is being passed to sidekiq.
Use 2 (not 1) spaces for indentation.<br>Tab detected.<br>Trailing whitespace detected.