Change testfiles compiler flags and add tests

-The testfiles now use the same compiler flags like die lib.
-Add a spki_record compare function to the ht-spkitable test file.
-Add tests