I think there is an error when using this with the test environment.
In freja.php it check for the .pem file in getcwd(), but the Exceptions writes a different path (DIR). For the production environment it is correct.
if (!is_readable(getcwd()."/freja_test.pem"))
throw new Exception('JWS Certificate file could not be found ('.DIR.'/freja_test.pem)');