added command execute
added logic for the testing suite