test: Added mongodb and faulty storage tests, and made them pass

Change-Id: I620613441ea425fcaa028d49bc8528ddf34312c7
Merge "test: Added mongodb and faulty storage tests, and made them pass"