Panic if there no mongodb config so we not using test database
Asserting correct length of RandomHex