Writing programming exercises unit tests