python with mongodb Test