Add a test for setting Exec.Type