Add web.config generation to functional tests