fix xmodule tests that assume mongo port 27017