Added tests for exec generator