Added some more tests to web-interface router. Some routes are tested now. Fixed some minor bugs during tests