Restructure webserver tests around endpoints
Add some error handling to webserver