fixed routing test so that it no longer requires a machine object