Added unit tests for forked synchronized commands
Added unit tests for forked synchronized commands kept alive

- Added assertions on _lock/unlockCommand()