Added tests for some of the web endpoints