Skip MongoDB tests if extension is not installed.