tests: fix cbor unittest

Some member of `struct tm val` were not set, resulting in undefined behavior.

Fixes https://github.com/RIOT-OS/RIOT/issues/1597

Remark: I have not checked whether the test makes sense semantically.