@@ -0,0 +1,774 @@
+#!/usr/bin/python%0Afrom Registry import Registry%0A%0A%0Adef main():%0A    import sys%0A    hive = sys.argv%5B1%5D%0A%0A    import hashlib%0A    m = hashlib.md5()%0A    with open(hive, 'rb') as f:%0A        m.update(f.read())%0A    if m.hexdigest() != %2226cb15876ceb4fd64476223c2bf1c8e3%22:%0A        print %22Please use the SYSTEM hive with MD5 26cb15876ceb4fd64476223c2bf1c8e3%22%0A        sys.exit(-1)%0A%0A    r = Registry.Registry(hive)%0A    k = r.open(%22ControlSet001%5C%5CControl%5C%5CTimeZoneInformation%22)%0A    v = k.value(%22TimeZoneKeyName%22)%0A    if v.value() == %22Pacific Standard Time%22:%0A        print %22Passed.%22%0A    else:%0A        print %22Failed.%22%0A        print %22Expected: Pacific Standard Time%22%0A        print %22Got: %25s (length: %25d)%22 %25 (v.value(), len(v.value()))%0A    sys.exit(0)%0A%0A%0Aif __name__ == %22__main__%22:%0A    main()%0A%0A%0A%0A

add test case for issue #22