More tests for exec

small test improvements for `exec` fixes I submitted couple of weeks ago