a simple unit test to run executeCmdSync