MDL-35413 Assignment: Add unit tests (lots of them).