Implementation of tests for order in scope.