add unittest for create(), get(), sync(), getChildren() and expired restart.
Merge pull request #10 from dannycoates/unittest

add unittest for create(), get(), sync(), getChildren() and expired restart