test passing variable accross routes