OZP-153 Dashboard Instance tests. Test refactoring.
OZP-153 UnitOfWork cleanup. Test refactoring.