fixed tests with mongodb credentials