RootTest small improvements
Moved status to controllers
Split '/endpoints/{slug}' to a controller. Added tests.