Testing UP501 GPS

Do you have the correct baud rate (57600) selected in the serial monitor?

  Serial.println("Adafruit MTK3329 NMEA test!");

Do you see this message in the serial monitor?