Fix and extend PHP Unit Tests

1 job for B6576-Download-Links-not-disabled-with-r3 in 1 minute and 49 seconds (queued for 1 second)