Add unit test for OS::executeCommand()