Added tests for mongoose models.
Introduced the Process mongoose model.