added tests for accessOrder