make test for page manager, API change of registerDisplayScopes to
accommodate the problem that things in a map are unordered