Tests the database upgrade with gcm_daemon