added a simple test for #connect and using mongodb