Adds functional test. Changes embedded app server from tomcat to jetty.