I've written tests before, but there ain't no way I'm writing unit tests for a throw away coding exercise that used 4 hours of my time already.
I would, if whoever gave the exercise told me they want unit tests.
Not telling that, and then failing people for the lack of tests is fucking stupid imo. At that point it's just rejecting them for not having the right (secret) religion.
since I consider the ability to write well designed unittests as crucial.