mongo changes for testing