OZP-16: Migrate dashboard switcher.

fix tests