Added test case for the HeaderVerifier

And while writing this I found a bug in the timestamp verifier,
yay for 3am or so code..

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>