Readded testcases
Added alphabet and validate as config options
Added some tests for alphabet override
Made changing hmac easier