added test for executing command