Removed test sample.
Made sha1 functions public static.
Added some tests for the Sisow gateway.