Merge pull request #66 from eile/master

Add basic sync/async command unit test
Fix queue unit test