Use correct algorithm in the GOST tests
SUPPORT-76: Add -Wall -Werror flags and fix the warnings.