added test for exec