BACKLOG-4848: Updated unit tests.