add unit test for clear_keys_header

Signed-off-by: Samuel Just <sam.just@inktank.com>