Fix wrongfully reverted cached endpoints file
Fix homeless test

Previous one relied on a "hot" environment