Added initial mongo unit testing