[WIP] Started functional tests

I suspect that there would be a neat way to offload at least some of this bootstrapping work on to a separate bundle, most of this code is copy / pasted from routing auto, which was copy / pasted from RoutingExtra I think.