Setting up tests and starting mongo as scripts.