middleware definition as comma separated list, change tests