[PATCH 3/3] programs/cmd: Add tests about .cmd file alteration while executing it.