Added multi threaded database insertions test case.