tests ordering