Added TEST_MODE=true to suppress the BSON error messages.