It took me a while to figure out what the heck is going on. To be fair since we have Unit as return type compiler didn't catch. I agree 100% with you - unit tests are important