added prototype for mongodb logging for test runs