Fixed tests to be more culture robust
Added tests for signature checking
CheckSignature fixed