Add test for host
Move initialization into web application instance