Fix GC test endpoint See merge request !398
mentioned in commit e40446f5
mentioned in commit f6e4cf4e