Use constant for supported algorithm.
Add test for unkown_siangature_algorithm fail and ensure kind of fails in tests.