MDL-59212 analytics: Expand unit test coverage