make test routes scripts work