Hawat: Implement basic unit tests of web interface

Currently the web interface is completely without any tests. Begin with implementing basic unit tests, that will make sure the application as a whole is without syntax errors and executable.